package com.yuerlive.rainbow.entity;

import java.io.Serializable;
import java.util.Map;

/**
 * Created by xiaoyi on 2017/5/18.
 */

public class ObjectWrapper implements Serializable {
    public int type;
    public Object object;
    public Map extras;

    public ObjectWrapper(int type, Object object) {
        this.type = type;
        this.object = object;
    }

    public ObjectWrapper() {
    }

    @Override
    public String toString() {
        return "ObjectWrapper{" +
                "type=" + type +
                ", object=" + object +
                ", extras=" + extras +
                '}';
    }
}
